import http from "../utils/request";

export async function login(username: string, password: string) {
    return await http("/user/login", 'post', {
        username, password
    });
}